import 'package:flutter/material.dart';
import 'package:fluro/fluro.dart';

import '../pages/login.dart';
import '../pages/home_page.dart';
import '../pages/setting/setting.dart';
import '../pages/setting/modify_password.dart';

import '../pages/queryResults/exam_list.dart';
import '../pages/queryResults/exam_result.dart';

import '../pages/test/test.dart';
import '../pages/test/test_2.dart';
import '../pages/test/test_3.dart';
import '../pages/test/test_4.dart';
import '../pages/test/test_5.dart';
import '../pages/test/test_6.dart';
import '../pages/test/test_7.dart';
import '../pages/test/test_8.dart';
import '../pages/test/test_9.dart';
import '../pages/test/test_10.dart';
import '../pages/test/test_11.dart';
import '../pages/test/test_12.dart';
import '../pages/test/test_13.dart';
import '../pages/test/test_14.dart';
import '../pages/test/test_15.dart';
import '../pages/test/test_16.dart';
import '../pages/test/test_17.dart';
import '../pages/test/test_18.dart';
import '../pages/test/test_19.dart';
import '../pages/test/test_20.dart';
import '../pages/test/test_21.dart';
import '../pages/test/test_22.dart';
import '../pages/test/test_23.dart';
import '../pages/test/test_24.dart';
import '../pages/test/test_25.dart';


Handler loginHandler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return LoginPage();
    }
);
Handler homePageHandler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        // print('iddddddd=====>${params}');
        return HomePage();
    }
);

Handler settingHandler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Setting();
    }
);
Handler modifyPasswordHandler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return ModifyPassword();
    }
);
Handler examListHandler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return ExamList();
    }
);
Handler examResultHandler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return ExamResult(analysisId:params["analysisId"][0],schoolYearStart:params["schoolYearStart"][0],roleId:params["roleId"][0]);
    }
);



//test部分
Handler testHandler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test();
    }
);
Handler test2Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return ImagePickerWidget();
    }
);
Handler test3Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test3();
    }
);
Handler test4Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test4();
    }
);
Handler test5Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test5();
    }
);
Handler test6Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test6();
    }
);
Handler test7Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test7();
    }
);
Handler test8Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test8();
    }
);
Handler test9Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test9();
    }
);
Handler test10Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test10();
    }
);
Handler test11Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test11();
    }
);
Handler test12Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test12();
    }
);
Handler test13Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test13();
    }
);
Handler test14Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test14();
    }
);
Handler test15Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test15();
    }
);
Handler test16Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test16();
    }
);
Handler test17Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test17();
    }
);
Handler test18Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test18();
    }
);
Handler test19Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test19();
    }
);
Handler test20Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test20();
    }
);
Handler test21Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test21();
    }
);
Handler test22Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test22();
    }
);
Handler test23Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test23();
    }
);
Handler test24Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test24();
    }
);
Handler test25Handler = Handler(
    handlerFunc: (BuildContext context,Map<String, dynamic> params){
        return Test25();
    }
);